package com.itheima.service;

import com.itheima.constant.PageResult;
import com.itheima.constant.QueryPageBean;
import com.itheima.domain.CheckItem;

import java.util.List;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/9/24 12:39
 */
public interface CheckItemService {

    //添加数据;
    public void add(CheckItem checkItem);

    //分页条件查询;
    public PageResult quaryPage(QueryPageBean queryPageBean);

    //删除数据;
    public void deleteByid(Integer id);

    //根据id查询用于数据回显;
    public CheckItem findByid(Integer id);

    //编辑数据;
    public void edit(CheckItem checkItem);

    //查询全部数据用于给检查组展示;
    public List<CheckItem> findAll();
}
